Skip to content

fix: handle RoomIO microphone track replacement - #6744

Draft
chenghao-mou wants to merge 7 commits into
mainfrom
chenghao/fix/AGT-3239-reattach-roomio-audio-input
Draft

fix: handle RoomIO microphone track replacement#6744
chenghao-mou wants to merge 7 commits into
mainfrom
chenghao/fix/AGT-3239-reattach-roomio-audio-input

Conversation

@chenghao-mou

@chenghao-mou chenghao-mou commented Aug 7, 2026

Copy link
Copy Markdown
Member

Bug: RoomIO treated the publication SID as track identity, so an RTC replacement under the same subscribed publication was ignored. It also did not observe track_unsubscribed.

Track concrete identity and make subscription events authoritative. Keep one delayed EOS reattachment as a bounded fallback; a second EOS stops safely.

Regression tests cover same-SID replacement, stale unsubscribe, recovery races, silence, pre-connect audio, detachment, and processor lifecycles.

Fixes AGT-3239

- Recreate RTC audio streams when tracks remain subscribed after EOS
- Prevent reattachment after unsubscribe or input close
devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@chenghao-mou
chenghao-mou marked this pull request as draft August 10, 2026 17:56
@chenghao-mou chenghao-mou changed the title fix: reattach RoomIO audio input after stream closes fix: handle RoomIO microphone track replacement Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant